package testMap;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class ThridMap {

	public static void main(String[] args) throws Exception {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
		String strDate = "2012/03/01";
		Date date=sdf.parse(strDate);
		System.out.println(date);
	}

	private static Map<String, Map<String, Map<String, Object>>> getValueFromMap(String string) {
		Map<String, Map<String, Map<String, Object>>> map = new HashMap<String, Map<String,Map<String,Object>>>();
		Map<String, Map<String, Object>> map2 = new HashMap<String, Map<String,Object>>();
		Map<String, Object> map3 = new HashMap<String, Object>();
		for (int i = 0; i < 5; i++) {
			map3.put(i+"", i);
		}
		for (int i = 0; i < 4; i++) {
			map2.put("A1"+i, map3);
		}
		
		map.put("A", map2);
		map.put("B", map2);
		
		//System.out.println(map.get("A").get("A12").get("1"));
		//return (String[]) map.get(string).get(string).get(string);
		return map;
	}
	
}
